package com.yilin.tms.core.entity.user.auth;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.yilin.tms.core.commons.base.BaseAuth;
import com.yilin.tms.core.commons.annotation.Explain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "auth_tax_certification")
@TableName(value = "auth_tax_certification")
public class TaxCertification extends BaseAuth {

    @Column(name = "organize_id")
    private String organizeId;//组织ID
    @Column(name = "organize_name")
    private String organizeName;//组织商户名称

    @Column(name = "tax_certification_img")
    @Explain("税务认证截图")
    private String taxCertificationImg;//从业运输图片

    @Explain("税务发票代开协议签订")
    @Column(name = "tax_invoice_sign_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date taxInvoiceSignTime;//税务发票代开协议签订


    public Date getTaxInvoiceSignTime() {
        return taxInvoiceSignTime;
    }

    public void setTaxInvoiceSignTime(Date taxInvoiceSignTime) {
        this.taxInvoiceSignTime = taxInvoiceSignTime;
    }

    public String getOrganizeId() {
        return organizeId;
    }

    public void setOrganizeId(String organizeId) {
        this.organizeId = organizeId;
    }

    public String getOrganizeName() {
        return organizeName;
    }

    public void setOrganizeName(String organizeName) {
        this.organizeName = organizeName;
    }

    public String getTaxCertificationImg() {
        return taxCertificationImg;
    }

    public void setTaxCertificationImg(String taxCertificationImg) {
        this.taxCertificationImg = taxCertificationImg;
    }
}
